from django.shortcuts import render,HttpResponse

# Create your views here.
def books(request):
    return HttpResponse('hello_python')

def bookname(request):  # 定义一个函数bookname,从前端传入name参数
    return HttpResponse('<h1>This is a book named </h1>')